$(function()
{
	$("#addPublication").click(function()
	{
		$("#addPublication").css("height", "80px");
		$("#addPublication").css("width", "530px");
		$("#addPublication").css("max-width", "530px");
		$("#addPublication").css("min-width", "530px");
		$("#addPublication").css("min-height", "80px");
		$("#addPublication").css("max-height", "80px");
		$("#publicButton").css("display", "block");
		//$("#addPublication").val("");
		$("#duvar").css("height", "78%");
		$("#duvar").css("max-height", "78%");
	});	
	$(".dialogBody").draggable({handle:".dialogHeader"});
	$(".showPublicationCommentsButton").click(function(){
		$("#theFiuuuRotateTransformingCommentsDiv").css("display", "block");
		$(".showPublicationCommentsButton").removeClass("astor");
		$(this).addClass("astor");
		var theId = $(".astor").attr("id");
		$.post("showCommentsPub.php", {snID : theId}, function(data)
		{
			$("#theFiuuuRotateTransformingCommentsDivHeaderless").html(data);
		});
	});
	$("#closePubComment").click(function()
	{
		$("#theFiuuuRotateTransformingCommentsDiv").css("display", "none");
	});
});














































